package org.warehouse.dao.impl;

import org.warehouse.dao.IDao;


public class ProductDao extends AbstractDao {
	
	private static IDao instance;
	
	public static IDao getInstance() {
		if (instance == null) {
			synchronized (ProductDao.class) {
	            if (instance == null) {
	            	instance = new ProductDao();
	            }
            }
		}
		return instance;
	}
	
	private ProductDao() {
		super();
	}
	
	@Override
	public String getTableName() {
	    return "T_PRODUCT";
	}

	@Override
    public String getIndexColumnName() {
	    return "PRODUCT_ID";
    }
}
